package com.shangqing.system.hightemperature.mapper;

import com.shangqing.system.droughtinformation.entity.City;
import com.shangqing.system.hightemperature.entity.HighTemperature;
import com.shangqing.system.windinfomation.entity.WindWarning;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface HighTemperatureMapper {
    @Select("select * from high_temperature_all_infomation")
    List<HighTemperature> getAllInfo();
    @Select("select * from high_tem_warning where id=#{id}")
    WindWarning getHighWarning(int id);
    /**获取地区*/
    @Select("select * from sys_city where id=#{id}")
    City getAllCity(int id);
}
